# -*- coding: utf-8 -*-#
#-------------------------------------------------------------------------------
# 建立者:        Young  
# Name:         less1_01
# Description:
# Author:       asus
# Date:         2019/3/20
#-------------------------------------------------------------------------------


class Myexception(Exception):
    pass

a = 10
b = 0

if b == 0:
    raise Myexception('除数不能等于0')
else:
    a = a/b
    print(a)